
// 请求行
// GET 请求方式  POST/GET
// / 请求路径 / 根目录
// HTTP 请求协议 http/https https 更安全的超文本传输协议
// 1.1 协议版本号 1.0/1.1 
GET / HTTP/1.1

// 请求头
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cache-Control: max-age=0
Connection: keep-alive
Cookie: BIDUPSID=A1B9F90248A0401273BF5BCC36C6CD77; PSTM=1668050892; BAIDUID=A1B9F90248A040127E99480CB350F4AA:SL=0:NR=10:FG=1; sug=3; sugstore=1; ORIGIN=2; bdime=0; BD_UPN=12314753; MCITY=-332%3A131%3A; BAIDUID_BFESS=A1B9F90248A040127E99480CB350F4AA:SL=0:NR=10:FG=1; ZFY=J2R0iLiPEqsysmg72gDlv:B9iTFVNYUaliRneUNh3Fvg:C; BA_HECTOR=05ag0l0l210h2l8k0ka1agun1hvqrmp1k; BDORZ=B490B5EBF6F3CD402E515D22BCDA1598; COOKIE_SESSION=45_1_6_9_3_15_1_0_6_8_1_1_101819_0_0_0_1676966751_1676630174_1677218921%7C9%233318094_102_1676630171%7C6; H_PS_645EC=7b8ah7A1JLC6Toz6No4VePWn7QxKX%2F506FEn4JN4f%2Fgo9DDeOphB%2F%2FWgbak; channel=baidusearch; baikeVisitId=5b664a1a-27c3-4970-b66f-5429ce3f30ca; BD_HOME=1; H_PS_PSSID=36554_38106_38271_37911_38150_38266_38176_38172_36805_37924_38089_26350_37958_38097_37881
Host: www.baidu.com
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
sec-ch-ua: "Chromium";v="110", "Not A(Brand";v="24", "Google Chrome";v="110"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"

GET / HTTP/1.1
// Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
// Accept-Encoding: gzip, deflate, br
// Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
// Connection: keep-alive
// Cookie: __jdu=1668050894196839914071; shshshfpa=619690fa-2c5b-f8f8-0a1a-67726097397f-1668147845; shshshfpb=rWIYYmfnKI6pCnEMJxP_h4A; TrackID=18uMmmyyEjERUDAGiDEbwdZuzDijS_x0ygLdJHNdq-vXNxHYBaprpvabdkBpSr0YKEF4TQwwcEBjgZDg7EiSowyvmpnNBGhF5wk28R8AmcvM; pinId=r0NfS7S_80NqcUzZmLMuZHi3hjTqupH9; __jdv=76161171|direct|-|none|-|1676598919428; shshshfpx=619690fa-2c5b-f8f8-0a1a-67726097397f-1668147845; PCSYCityID=CN_610000_610100_0; jsavif=1; __jda=122270672.1668050894196839914071.1668050894.1677290315.1677553247.54; __jdc=122270672; areaId=27; token=2d398e142e1aaab2fbb5100c914b492d,2,931974; __tk=olbLkcKxTMTnoCPhmc5zjmrmrlbnYnbPolbojLKImavOoCZgmJKzjmVPTJznmn24ommOYDJ4,2,931974; shshshfp=a042edc6c56cadbb2b573e12fd11a397; ip_cityCode=2376; ipLoc-djd=27-2376-50232-53749; shshshsID=bca8a6a4ecd1c79bba2674eb852f76ab_7_1677554625045; __jdb=122270672.7.1668050894196839914071|54.1677553247; 3AB9D23F7A4B3C9B=ZP5BP5SKF4OZNZC2AVCQAWVBIINDSGAMX6YNPKVSCFGSS4ZOLUV7ZSU5TUD4ISF6QEEHDHSOKLXA3CU267NQV62TNU
// Host: jd.com
// Sec-Fetch-Dest: document
// Sec-Fetch-Mode: navigate
// Sec-Fetch-Site: none
// Sec-Fetch-User: ?1
// Upgrade-Insecure-Requests: 1
// User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
// sec-ch-ua: "Chromium";v="110", "Not A(Brand";v="24", "Google Chrome";v="110"
// sec-ch-ua-mobile: ?0
// sec-ch-ua-platform: "Windows"

// 请求体
// get请求 不发送请求体 - 从地址栏发送数据
// post请求 才会发送请求体


// 响应头信息：

// 响应行
// HTTP 协议
// 1.1 协议版本 
// 200 响应状态码 成功 ***
// ok 响应状态信息

//  HTTP/1.1 200 OK

// 响应头
// Server: nginx
// Date: Tue, 28 Feb 2023 03:33:09 GMT
// Content-Type: text/html; charset=utf-8
// Transfer-Encoding: chunked
// Connection: keep-alive
// Vary: Accept-Encoding
// init-worker-firstscreen: off
// init-worker-mobile-ua-check: on
// init-worker-mobile-ua-check-rate: on
// init-worker-forbid-method: on
// init-worker-ump-reffer: on
// init-worker-pageconfig: on
// init-worker-jsversion: on
// init-worker-jsversion-new: on
// init-worker-page-maxAge: on
// Cache-Control: max-age=10
// Expires: Tue, 28 Feb 2023 03:33:10 GMT
// Content-Encoding: gzip
// ser: 14.248
// X-Content-Type-Options: nosniff
// X-XSS-Protection: 1; mode=block
// X-Frame-Options: SAMEORIGIN
// Age: 0
// Via: http/1.1 ORI-CLOUD-HUZ-MIX-26 (jcs [cSsSfU]), http/1.1 SSHXweinan-CT-01-MIX-34 (jcs [cSsSfU])
// Timing-Allow-Origin: *
// X-Trace: 200-1677555189800-0-0-14-35-35;200-1677555189777-0-0-0-54-54;200-1677555189754-0-0-0-114-114
// Strict-Transport-Security: max-age=3600

// 响应体 就是服务器给咱们发送回来的主体内容